/**
 * 预排班管理-列表综合搜索
 * Date 2023-6-25 20:11:42
 * inputProps 可选参数可参考：对应UI组件Attributes
 * events 仅支持change事件
 */
import type { FilterItem } from '@/components/FilterBar/types'
import { schemeModelOptions, statusOptions, classTypeOptions } from './options'

export const searchOptions: FilterItem[] = [
  {
    label: '排班方案',
    prop: 'schemeName',
    type: 'input',
    inputProps: {
      clearable: true,
      placeholder: '请输入排班方案'
    }
  },
  {
    label: '班次类型',
    prop: 'classType',
    type: 'select',
    defaultValue: '',
    inputProps: {
      options: classTypeOptions
    }
  },
  {
    label: '模式',
    prop: 'schemeModel',
    type: 'select',
    defaultValue: '',
    inputProps: {
      options: schemeModelOptions
    }
  },
  {
    label: '状态',
    prop: 'status',
    type: 'select',
    defaultValue: '',
    inputProps: {
      options: statusOptions
    }
  }
]
